![]() |
PATH![]() |
![]() ![]() |
If an application is on a remote computer, you must specify the application's name as it would be listed in the Application menu, the name of the computer, and, if necessary, the name of the zone in which the computer is located:
quit application "AppleWorks" ¬
of machine "Otto's 2nd Best Server" of zone "Customer Service"
For a script to send commands to a remote application, the following conditions must be satisfied:
For information about these menus and control panels, see the user's guide for your Macintosh computer.
The following script sends commands to an application on a remote computer, including a Quit command when the script is finished:
tell application "AppleWorks" of ¬
machine "Paula's Mac" of zone "Publications"
open file "Hard Disk:Reports:Status Report"
-- statements to perform operations on the report
close document "Status Report" saving ask
quit -- quit AppleWorks
end tell